package com.hunttown.common.sharding.client.router;

import com.hunttown.common.sharding.client.exception.RouteException;
import com.hunttown.common.sharding.client.support.RouteResult;

import java.util.List;
import java.util.Map;

public interface Router<T> {
    RouteResult doRoute(T var1) throws RouteException;

    Map<String, List<String>> getRouteInfo(String var1);
}